<template>
	<view>
		<u-swiper :list="info.banner" height="500"></u-swiper>
		
		<view class="u-padding-20">
			<view style="font-size: 32rpx;font-weight: bold;" class="u-padding-20">
				{{info.title}}
			</view>
			<view style="padding: 0 20rpx;">
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">所在地区</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">所在小区</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">装修费用</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">户型</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">使用面积</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
				<view class="u-flex" style="padding: 10rpx 0;">
					<view class="des">装修方式</view>
					<view class="">
						{{info.title}}
					</view>
				</view>
			</view>
		</view>
		
		
	    
	</view>
</template>

<script>
	
	
	export default{
		components: {
		},
		data(){
			return{
				info:{
					banner: [{
							image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
							title: '昨夜星辰昨夜风，画楼西畔桂堂东',
							url:""
						},
						{
							image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
							title: '身无彩凤双飞翼，心有灵犀一点通',
							url:""
						},
						{
							image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
							title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳',
							url:""
						}
					],
					title:"25425412"
				}
				
			}
		},
		onLoad() {
			this.jiazai()
		},
		onShow() {
			
		},
		methods:{
			jiazai(){
				this.$u.post('/api/index/banner', {
				
				}).then(res => {
					this.banner = res
				}).catch(err => {
				
				})
			}	
		}
	}
</script>

<style>
	.des{
		width: 200rpx;
		text-align: left;
		color: #999;
	}
</style>
